package com.dliu.javacore.enumFeature.vo;

/**
 * @author yanglei
 * date 2021/3/25 17:39
 */
public enum Fruit {
    APPLE,ORIGIN;

    public static void main(String[] args) {
        System.out.println(Fruit.APPLE.toString());
        System.out.println(Fruit.ORIGIN.compareTo(APPLE));
        System.out.println(Fruit.APPLE.equals(Fruit.APPLE));
    }
}
